package com.usian.behavior.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author usian
 * @since 2022-07-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("ap_collection_behavior")
@ApiModel(description="")
public class ApCollectionBehavior implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.ID_WORKER)
    private Long id;

    /**
     * 实体id
     */
    @ApiModelProperty(value = "实体id")
    @TableField("entry_id")
    private Integer entryId;

    /**
     * 文章id
     */
    @ApiModelProperty(value = "文章id")
    @TableField("article_id")
    private Long articleId;

    /**
     * 点赞内容类型0-文章 1-动态
     */
    @ApiModelProperty(value = "点赞内容类型0-文章 1-动态")
    @TableField("type")
    private Integer type;

    /**
     * 收藏时间
     */
    @ApiModelProperty(value = "收藏时间")
    @TableField("collection_time")
    private Date collectionTime;

    /**
     * 发布时间
     */
    @ApiModelProperty(value = "发布时间")
    @TableField("published_time")
    private Date publishedTime;


}
